package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author lbq
 * @version 1.0
 * @date 2021/3/13 21:34
 */
@Data
@TableName("lagou_auth_code")
@Accessors(chain = true)
public class AuthCode {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String email;
    private String code;
    private Date createtime;
    private Date expiretime;

    public final static String ID = "id";
    public final static String EMAIL = "email";
    public final static String CODE = "code";
    public final static String CREATETIME = "createtime";
    public final static String EXPIRETIME = "expiretime";
}
